package com.han.util;

public class CGConstants {

	//ftl文件地址
	public static final String propLocation = "ftl";
	public static String java_path ="/src/main/java/com/han/client/demo";
	public static String resources_path ="/src/main/resources";
	//配置文件名
	public static final String propFileName = "common.properties";
	//POJO类的生成路径
	public static final String POJOLocation = System.getProperty("user.dir")+java_path+"/pojo";
	//Service接口类的生成路径
	public static final String ServiceLocation = System.getProperty("user.dir")+java_path+"/services";
	//Service接口实现类的生成路径
	public static final String ServiceImplLocation = System.getProperty("user.dir")+java_path+"/serviceImpl";
	//Controller 实现类的生成路径
	public static final String ControllerLocation = System.getProperty("user.dir")+java_path+"/controller";
	//mapper 接口类的生成路径
	public static final String MapperLocation = System.getProperty("user.dir")+java_path+"/mapper";
	public static final String MapperXmlLocation = System.getProperty("user.dir")+resources_path+"/mapper";
	public static final String HtmlLocation = System.getProperty("user.dir")+resources_path+"/static/views";
	//TODO 下一步准备优化代码结构
//	public static final String ServiceLocation = "../spring-boot-freemarker/src/main/java/"+PropLoader.getPlanProp("plan.moduleName")+"services";

}
